.rule-popup {
  &__decorate {
    width: 203px;
    height: 72px;
    margin-top: -72px;
  }

  &__content {
    @include flex-column;
    align-items: center;
  }

  &__context {
    width: 335px;
    max-height: 400px;
    overflow-y: auto;
    margin-top: 23px;
    border-radius: 9px;
    border: solid 0.5px #ffffd4;
    background-image: linear-gradient(to bottom, #fff6cb, #ffd99f);
    @include flex-column;
    align-items: center;
    box-sizing: border-box;
    padding: 0 8px 18px;
    font-family: 'SFProRounded-Medium';
  }

  &__text {
    font-size: 14px;
    font-weight: 500;
    font-stretch: normal;
    font-style: normal;
    line-height: 1.29;
    letter-spacing: normal;
    color: #000;
    // white-space: nowrap;
    // word-wrap: break-word;
    word-break:keep-all ;
    margin-top: 12px;
    
    &-sub {
      padding: 10px 0px 0px 10px;
      &>div{
        margin-bottom: 10px;
      }
    }
    &--green {
      // font-weight: 900;
      // color: #1fd06f;
    }
    &--weight-900 {
      font-weight: 900;
    }
  }
}
